.wrapper {
    width: 100vw;
    height: 100vh;
    /*网格*/
    display: grid;
    background-image: url('../images/bk.jpg');
}

.register-box {
    width: 700px;
    height: 400px;
    background-color: rgba(178, 178, 230, 0.6);
    margin: auto;
}

.register-box h1 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.form {
    height: 320px;
    width: 300px;
    float: left;
}

.form input {
    width: 200px;
    height: 40px;
    margin-top: 30px;
    margin-left: 40px;
    border-radius: 10px;
    padding: 0 10px;
    border: 1px solid #fff
}

.form button {
    width: 120px;
    height: 40px;
    background-color: rgb(0, 128, 0, 0.2);
    border-radius: 8px;
    margin-top: 20px;
    margin-left: 90px;
}

.to-login {
    margin-top: 10px;
    margin-left: 120px;
}

.image {
    width: 400px;
    height: 320px;
    float: left;
    position: relative;
}

.image button {
    width: 120px;
    height: 40px;
    background-color: rgb(0, 128, 0, 0.2);
    border-radius: 8px;
    padding: 0 10px;
}

.open {
    position: absolute;
    top: 30px;
    left: 0 px;
}

.take {
    position: absolute;
    top: 30px;
    left: 200px;
}

#video {
    position: absolute;
    top: 80px;
    left: 0px;
    border-radius: 10px;
}

#canvas {
    position: absolute;
    top: 80px;
    left: 200px;
    border-radius: 10px;
}